package demo.c1;

import java.sql.ResultSet;

/**
 * Row handler
 *
 * @author chisheng
 */
public interface RowHandler<T> {

    /**
     * Covert rs to T object
     *
     * @param rs ResultSet instance
     * @return T instance
     */
    T handle(ResultSet rs);

}
